
export const CELL_TYPE = {
    EMPTY : 0,
    A : 1,
    B : 2,
    C : 3,
    D : 4,
    E : 5,
    F : 6,
    BIRD : 7
}
export const CELL_BASENUM = 5;
export const CELL_STATUS = {
    COMMON: 0 ,
    CLICK: "click",
    LINE: "line",
    COLUMN: "column",
    WRAP: "wrap",
    BIRD: "bird"
} 

export const GRID_Y_LENGTH = 7;
export const GRID_X_LENGTH = 6;

export const CELL_WIDTH = 80;
export const CELL_HEIGHT = 75;

export const CELL_GAP = 20;

export const GRID_PIXEL_WIDTH = GRID_Y_LENGTH * CELL_WIDTH;
export const GRID_PIXEL_HEIGHT = GRID_X_LENGTH * CELL_HEIGHT;


// ********************   时间表  animation time **************************
export const ANITIME = {
    DELAY:0.5,
    TOUCH_MOVE: 0.3,
    DIE: 0.4,
    DOWN: 0.5,
    BOMB_DELAY: 0.3,
    BOMB_BIRD_DELAY: 0.7,
    DIE_SHAKE: 0.4 // 死前抖动
}
// ********************   得分规则 **********************
export const SCORE = [
{
    type:1,
    score:[
        {count:4,scale:0.01},
        {count:5,scale:0.02},
        {count:6,scale:0.1},
        {count:7,scale:0.5},
        {count:8,scale:1},
        {count:9,scale:2},
        {count:10,scale:4},
        {count:11,scale:6},
        {count:12,scale:10},
        {count:13,scale:20},
        {count:14,scale:50},
        {count:15,scale:100}]
},
{
    type:2,
    score:[
        {count:4,scale:0.02},
        {count:5,scale:0.04},
        {count:6,scale:0.2},
        {count:7,scale:1},
        {count:8,scale:2},
        {count:9,scale:4},
        {count:10,scale:8},
        {count:11,scale:12},
        {count:12,scale:20},
        {count:13,scale:40},
        {count:14,scale:100},
        {count:15,scale:200}]
},
{
    type:3,
    score:[
        {count:4,scale:0.04},
        {count:5,scale:0.08},
        {count:6,scale:0.4},
        {count:7,scale:2},
        {count:8,scale:4},
        {count:9,scale:8},
        {count:10,scale:16},
        {count:11,scale:24},
        {count:12,scale:40},
        {count:13,scale:80},
        {count:14,scale:200},
        {count:15,scale:400}]
},
{
    type:4,
    score:[
        {count:4,scale:0.08},
        {count:5,scale:0.16},
        {count:6,scale:0.8},
        {count:7,scale:4},
        {count:8,scale:8},
        {count:9,scale:16},
        {count:10,scale:32},
        {count:11,scale:48},
        {count:12,scale:80},
        {count:13,scale:160},
        {count:14,scale:400},
        {count:15,scale:800}]
},
{
    type:5,
    score:[
        {count:4,scale:0.16},
        {count:5,scale:0.32},
        {count:6,scale:1.6},
        {count:7,scale:8},
        {count:8,scale:16},
        {count:9,scale:32},
        {count:10,scale:64},
        {count:11,scale:96},
        {count:12,scale:160},
        {count:13,scale:320},
        {count:14,scale:800},
        {count:15,scale:1600}]
}]

// *********************  押注 *********************
export const BETCONFIG = ["100","500","1000","5000","10000","50000","100000"]